package com.trimps.wifi.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.trimps.wifi.mapper.MapTrackMapper;
import com.trimps.wifi.pojo.FlowData;
import com.trimps.wifi.service.MapTrackService;

@Service("MapTrackService")
public class MapTrackServiceImpl implements MapTrackService {
	@Autowired
	private MapTrackMapper mapTrackMapper;	

	@Override
    public List<FlowData> getMacLocation(String deviceMac, String deviceNo, String startTime, String endTime) {
        return this.mapTrackMapper.getMacLocation(deviceMac,deviceNo,startTime,endTime);
    }

    @Override
    public int getMacLocationCount(String deviceMac, String deviceNo, String startTime, String endTime) {
        return this.mapTrackMapper.getMacLocationCount(deviceMac,deviceNo,startTime,endTime);
    }

}
